package com.admission.model;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
//录取特别公告
@Entity
@Table(name="college_notice")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class CollegeNotice extends IdEntity{
	public final static String COLLEGETYPE="1";
	public final static String ARTTYPE="0";
	private String note;		//特别提示
	private String content;		//录取公告
	private String type;		//0代表美术公告，1代表高考公告
	
	 @Lob
	 @Basic(fetch = FetchType.LAZY)
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	 @Lob
	 @Basic(fetch = FetchType.LAZY)
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	

}
